package com.zclcs.service;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zclcs.model.DataRet;
import com.zclcs.model.Role;
import com.zclcs.model.RoleUser;

/**
 * 角色service层
 * 
 * @author 周成龙
 *
 */
public interface RoleService {

	IPage<Role> selectRolePage(Role role);

	void insertRole(Role role);

	DataRet<Object> deleteRole(List<String> ids);

	void updateRole(Role role);

	Boolean validRoleName(Role role);

	void pickUpRoles(RoleUser roleUser);

	void putDownRoles(RoleUser roleUser);

}
